#include "mainwindow.h"

#include <QPushButton>
#include <QBoxLayout>
#include <QLabel>
#include <QDebug>
#include <QtWidgets>
#include <QSettings>
#include <QTreeView>


MainWidget::MainWidget(QWidget *parent)
    : QWidget(parent)

{
    QVBoxLayout *mainLayout = new QVBoxLayout();
    setLayout(mainLayout);

    m_pTextEdit = new QTextEdit();
    m_pTextEdit->setObjectName("TestTextEdit");

    mainLayout->addWidget(m_pTextEdit);
}

MainWidget::~MainWidget()
{

}

void MainWidget::setTextEditText(const QString &text)
{
    m_pTextEdit->setText(text);
}
